﻿using DataAccess.Toolkit.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace DataAccess.Toolkit.Services
{
    public class CustomerServices : ICustomerServices
    {
        public List<Customer> GetAll()
        {
            return Customers;
        }

        public List<Customer> Customers { get; set; }

        public CustomerServices()
        {
            Customers= new List<Customer>()
            {
                new Customer(){Id = 1, Name = "张三", Address = "前门小区", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 2, Name = "周详", Address = "后门一道", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 3, Name = "王五", Address = "凤鸣合院", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 4, Name = "李四", Address = "桥头大宝", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 5, Name = "钱旭东", Address = "大东门", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 6, Name = "王长笑", Address = "大埔头", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 7, Name = "刘玉华", Address = "忠孝东路", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 8, Name = "刘氏清", Address = "长江花园", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 9, Name = "王富贵", Address = "兵将小区", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 10, Name = "熊晓斌", Address = "同和田玉", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 11, Name = "赵志祥", Address = "卢旺达斯", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 12, Name = "春晓琴", Address = "春风花园", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 13, Name = "阙晓梅", Address = "阿迪达斯", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 14, Name = "周洋洋", Address = "新加坡花园城", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 15, Name = "斐凤凤", Address = "芝加哥花园", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 16, Name = "江白玉", Address = "春花之歌", City = "合肥", PostalCode = "230051", Region = "中国"},
                new Customer(){Id = 17, Name = "路桃园", Address = "前门小区", City = "合肥", PostalCode = "230051", Region = "中国"}
            };
        }
    }
}
